{% comment %}
 Copyright © 2010 Benedikt Eger

 This file is part of top-news-buzz.

 top-news-buzz is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.

 top-news-buzz is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with top-news-buzz.  If not, see <http://www.gnu.org/licenses/>.
{% endcomment %}
<h2>Main Configuration</h2>
<form action="" method="post" >
Language code: <input type="text" value="{{ config.language_code }}" name="language_code" size="80" /><br />
Number of articles to display: <input type="text" value="{{ config.articles_to_display }}" name="articles_to_display" size="80" /><br />
Display articles from the last n days: <input type="text" value="{{ config.display_last_n_days }}" name="display_last_n_days" size="80" /><br />
Number of articles to score per pass: <input type="text" value="{{ config.articles_to_score_per_pass }}" name="articles_to_score_per_pass" size="80" /><br />
Delay between publishing and scoring (in minutes): <input type="text" value="{{ config.score_delay_minutes }}" name="score_delay_minutes" size="80" /><br />
Delay between feed retrievals (in minutes): <input type="text" value="{{ config.feed_retrieval_delay_minutes }}" name="feed_retrieval_delay_minutes" size="80" /><br />
Strip HTML from feed content: <input type="radio" name="strip_html" {% if config.strip_html %}checked="checked" {% endif %}value="True"/> Yes <input type="radio" name="strip_html" {% if not config.strip_html %}checked="checked" {% endif %}value="False"/> No<br />
Cleanup items with a score equal to or lower than this value: <input type="text" value="{{ config.cleanup_score_limit }}" name="cleanup_score_limit" size="80" /><br />
<input type="submit" value="Update configuration" />
</form>